package com.dc.project;

import com.dc.common.util.DateConvertUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

import java.util.Date;

/**
* demo工程启动类
* @author Enzo
* @date 2020-7-8
*/
@SpringBootApplication
@ComponentScan(basePackages = {"com.dc.base", "com.dc.project"})
@EnableScheduling
public class BaseDemoApplication {
    public static void main(String[] args) {
        System.out.println(String.format("正在启动应用："+ DateConvertUtil.format(new Date())));
        SpringApplication.run(BaseDemoApplication.class, args);
    }

}
